/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package org.hl7.v3;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

import org.eclipse.emf.common.util.Enumerator;

/**
 * <!-- begin-user-doc -->
 * A representation of the literals of the enumeration '<em><b>Occupational Therapist HIPAA</b></em>',
 * and utility methods for working with them.
 * <!-- end-user-doc -->
 * <!-- begin-model-doc -->
 * specDomain: S13598 (C-0-T13129-A13130-A13592-S13598-cpt)
 * <!-- end-model-doc -->
 * @see org.hl7.v3.V3Package#getOccupationalTherapistHIPAA()
 * @model extendedMetaData="name='OccupationalTherapistHIPAA'"
 * @generated
 */
public enum OccupationalTherapistHIPAA implements Enumerator {
	/**
	 * The '<em><b>225X00000N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225X00000N_VALUE
	 * @generated
	 * @ordered
	 */
	_225X00000N(0, "_225X00000N", "225X00000N"),

	/**
	 * The '<em><b>225XC0400N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XC0400N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XC0400N(1, "_225XC0400N", "225XC0400N"),

	/**
	 * The '<em><b>225XE1200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XE1200N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XE1200N(2, "_225XE1200N", "225XE1200N"),

	/**
	 * The '<em><b>225XH1200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XH1200N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XH1200N(3, "_225XH1200N", "225XH1200N"),

	/**
	 * The '<em><b>225XH1300N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XH1300N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XH1300N(4, "_225XH1300N", "225XH1300N"),

	/**
	 * The '<em><b>225XN1300N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XN1300N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XN1300N(5, "_225XN1300N", "225XN1300N"),

	/**
	 * The '<em><b>225XP0200N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XP0200N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XP0200N(6, "_225XP0200N", "225XP0200N"),

	/**
	 * The '<em><b>225XR0403N</b></em>' literal object.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @see #_225XR0403N_VALUE
	 * @generated
	 * @ordered
	 */
	_225XR0403N(7, "_225XR0403N", "225XR0403N");

	/**
	 * The '<em><b>225X00000N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225X00000N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225X00000N
	 * @model literal="225X00000N"
	 * @generated
	 * @ordered
	 */
	public static final int _225X00000N_VALUE = 0;

	/**
	 * The '<em><b>225XC0400N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XC0400N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XC0400N
	 * @model literal="225XC0400N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XC0400N_VALUE = 1;

	/**
	 * The '<em><b>225XE1200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XE1200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XE1200N
	 * @model literal="225XE1200N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XE1200N_VALUE = 2;

	/**
	 * The '<em><b>225XH1200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XH1200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XH1200N
	 * @model literal="225XH1200N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XH1200N_VALUE = 3;

	/**
	 * The '<em><b>225XH1300N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XH1300N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XH1300N
	 * @model literal="225XH1300N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XH1300N_VALUE = 4;

	/**
	 * The '<em><b>225XN1300N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XN1300N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XN1300N
	 * @model literal="225XN1300N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XN1300N_VALUE = 5;

	/**
	 * The '<em><b>225XP0200N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XP0200N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XP0200N
	 * @model literal="225XP0200N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XP0200N_VALUE = 6;

	/**
	 * The '<em><b>225XR0403N</b></em>' literal value.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of '<em><b>225XR0403N</b></em>' literal object isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @see #_225XR0403N
	 * @model literal="225XR0403N"
	 * @generated
	 * @ordered
	 */
	public static final int _225XR0403N_VALUE = 7;

	/**
	 * An array of all the '<em><b>Occupational Therapist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private static final OccupationalTherapistHIPAA[] VALUES_ARRAY =
		new OccupationalTherapistHIPAA[] {
			_225X00000N,
			_225XC0400N,
			_225XE1200N,
			_225XH1200N,
			_225XH1300N,
			_225XN1300N,
			_225XP0200N,
			_225XR0403N,
		};

	/**
	 * A public read-only list of all the '<em><b>Occupational Therapist HIPAA</b></em>' enumerators.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static final List<OccupationalTherapistHIPAA> VALUES = Collections.unmodifiableList(Arrays.asList(VALUES_ARRAY));

	/**
	 * Returns the '<em><b>Occupational Therapist HIPAA</b></em>' literal with the specified literal value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static OccupationalTherapistHIPAA get(String literal) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			OccupationalTherapistHIPAA result = VALUES_ARRAY[i];
			if (result.toString().equals(literal)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Occupational Therapist HIPAA</b></em>' literal with the specified name.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static OccupationalTherapistHIPAA getByName(String name) {
		for (int i = 0; i < VALUES_ARRAY.length; ++i) {
			OccupationalTherapistHIPAA result = VALUES_ARRAY[i];
			if (result.getName().equals(name)) {
				return result;
			}
		}
		return null;
	}

	/**
	 * Returns the '<em><b>Occupational Therapist HIPAA</b></em>' literal with the specified integer value.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public static OccupationalTherapistHIPAA get(int value) {
		switch (value) {
			case _225X00000N_VALUE: return _225X00000N;
			case _225XC0400N_VALUE: return _225XC0400N;
			case _225XE1200N_VALUE: return _225XE1200N;
			case _225XH1200N_VALUE: return _225XH1200N;
			case _225XH1300N_VALUE: return _225XH1300N;
			case _225XN1300N_VALUE: return _225XN1300N;
			case _225XP0200N_VALUE: return _225XP0200N;
			case _225XR0403N_VALUE: return _225XR0403N;
		}
		return null;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final int value;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String name;

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private final String literal;

	/**
	 * Only this class can construct instances.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	private OccupationalTherapistHIPAA(int value, String name, String literal) {
		this.value = value;
		this.name = name;
		this.literal = literal;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public int getValue() {
	  return value;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getName() {
	  return name;
	}

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	public String getLiteral() {
	  return literal;
	}

	/**
	 * Returns the literal value of the enumerator, which is its string representation.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	@Override
	public String toString() {
		return literal;
	}
	
} //OccupationalTherapistHIPAA
